package com.ucar.training.common;

/**
 * @author XiongMM
 * @date 2019/7/29 14:00
 * @description 响应结果
 */
public class Result {

    /**
     * 响应结果
     */
    private ResponseEnum code;

    /**
     * 详情
     */
    private String msg;


    public Result(ResponseEnum code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public ResponseEnum getCode() {
        return code;
    }

    public void setCode(ResponseEnum code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
